package com.trytry.dao;

import java.util.List;

import org.hibernate.HibernateException;
import org.hibernate.Session;

public interface CommonDao {
	public int findall(String Hql);
	public List getDatas(String hql,int start,int limit);
	public Session getCurrentSession();
	public List getSQLDatas(String sql, int start, int limit, String EntityName, String keyword) throws HibernateException,
			ClassNotFoundException;
	public int sqlfindall(String sql, String keywords);
}
